@Override public UserInfo createProfileWithSignUpToken( com.tasktop.c2c.server.profile.domain.project.Profile profile, String token) throws NoSuchEntityException, ValidationFailedException { try { profileWebService.createProfileWithSignUpToken(profile, token); logon(profile.getUsername(), profile.getPassword(), false); return getCurrentUserInfo(); } catch (EntityNotFoundException e) { handle(e); throw new IllegalStateException(); } catch (ValidationException e) { handle(e); throw new IllegalStateException(); } catch (AuthenticationFailedException e) { // should never happen throw new IllegalStateException(e); } }