added optional user authentication (log in) functions to the sessions and application controller
Merge pull request #1 from SamMatthews9/userauth

added optional user authentication (log in) functions to the sessions an...