login now works correctly!!!