some login and registration work, almost there