read and log in are both working