Switched to complete Passport authentication, better permission managment and additions to database