Complete base login
Base Function