updated login and cleaned out unnecessary files