Added additional dependencies and wired up login fields to backend.