login and other thing in progress (now working)