Frontend code refactoring, added authorisation and WS services
Posted working DB snapshot