fixed problem with current_user