adding functionality to signin front end