Now allowing to save sid to database
Saving sid to database to save logins (logins are slow)