Added login and working first version of new editor