Fixed errors in SimpleAuth Login