fix basic login