add login-not totally working