finished authentication
added User factory and test for show page
solved syntax error and improved the user show page