Login fixes + deploy settings