Added user login capabilities and UI. Also some mior fixes and API changes. Moment.js also added for date parsing.