Added authentatication system for REST API. APIUser model was added with tests.