partially working login