fix login authenciations