Added initial functionality for admin to login