Add admin user and login function for admin