adding jade template engine w/ logout and login functionality, updating tests