Profile page throws 404 error when user does not exists.