Fixued outdated databae indexes
Added reload() function to session for reloading the current user from database
Updated outdated json scripts