Move All Admin Login Code to Child