Moved files into admin, created login function