Add getName function
Add signin functionality.