Added name function on login