Loading/saving algorithms to database working for users