Added 404 and 500 error exceprtion handling and spruced up the layout of the user profile