database fixed
fixing vars to login