added basic login and registration functionalty without special security concerns