Add basic behavior for user page
add tests for home page