Method checkUser in LoginComponent no longer directly calls the database, instead it goes through WorkspaceInstance