added login features, uploading images