Replace joda DateTime with LocalDateTime. Change clientId and client secret.
Add some minor changes to java code
Move authorization logic to AuthCtrl