added facebook login, account login, user registration functionality