Added administrator login. Also the functionality to check if the user is admin or not.