added login

loginfunction finished, to test pull angularpastis out into your htdocs,
login with one of the users in our database and then watch your console.