we should put this in a before filter method like in the user controller