Fixed unit tests
Create login page and redirects
Change role to department
Fixed POST for vitalinfo updates & removed patient updates
Merge branch 'master' of github.com:jcgharvey/vsm-svr
Filter /patients/ by role cookie
Merge branch 'master' of https://github.com/jcgharvey/vsm-svr
Add ability to add departments to patients
Add add department test
Give better error on log in fail
Remove broken updating of departments
Tidy post methods
Tryna fix the cookies
Its still messed up
Set department cookie unencrypted so it can be read from JavaScript
Replace session with request.cookie
Add some roles to sample data
Add some department tests
If no department cookie is set, load patients with 'default' role
Merge pull request #27 from jcgharvey/departments

Filter api requests based on the value of the 'department' cookie