started more reorgonization for logging in, uploading files