api/auth: refactoring addKeyToUser function in order to use actions pkg
api/auth: refactoring removeKeyFromUser function

So we can use it as Backward in conjunction with action pkg.