error in accessing current_user