added user model tests
Merge branch 'master' into NICK
Added ability to check whether a user is logged in or not before rendering root page, or user page
Added tests for user model testing and index route testing
Merge pull request #10 from nickmeehan/NICK

Nick