intial setup and login