added tests for user page