Created CustomAuthenticationProvider and UserService. User and Role implements required interfaces for work with authorities.
Merge remote-tracking branch 'origin/master'