gin logic added, connected to sails API
login logic added, connected to sails API