Added user authentication to skeleton, error handling is up next.