expresss application and login fixes