added helper files and user authentication