added firebase support to registration page