login check and upload files functionality have been added