change action and filter hook for login and admin