Removed spring dependency injection following incimpatibility with play authentication mechanism. Refactored.