moved some user show page login to model
slight changes