handling of login and projectlist