Implemented login and authentication. Started working on editability.