Forgot to add login connect(), changed folder permissions