refactoring

render_profile_page method now takes a user object instead of user id

removed unnecessary code

made error message text red

Signed-off-by: Emily Platzer <emilyplatzer@gmail.com>