adding in login controller functionality

login now works and adds users to a seperate table in firebase, working
on getting email from facebook api