initial structure for checking for login.