half through user authentication
authentication added with one minor error