Added method getByToken to User
Added tests for method getByToken in User controller