added create account and login logic, updated models and homepage dictionary