Updated CakePHP to 2.3 (issue #289) and added static keywords to some of the User methods which needed it.