added a user page, expanded functional tests