Add spring security and custom authentification. close #2