2nd task done.Oauth,JPA and like impl