Create custom action for login route