Advancing login functionality