Implemented possibility to make REST calls to data service. Now it's possible to log in and out.