move NAS server to python, save authentication data in database instead of challenge key