Moving methods to Cookie Authentication