user authentification fixed and challenges now save to database but dont print