fixes redirect to user page, when user is current_user