Changed implementation from Passportlocal for authentication to passport...

... and oauth2. Modified home page and edited REST API.