Login works, uploading pic doesnt