found some bugs with authenticating..