Simple processing an error 403 using CustomAccessDeniedHandler. UserService was implemented, it helps to get authorized User entity. Some changes for good looks.