switched restful email post with the id of the user. view account now works