added login functionality to flare.js

user can now login with username: flare and password: password