finished user authentication and views, mostly done