fixed require_user for rails4 and added to controllers