fixed errors, added signin