Updated login and registr