commented import com.sun.javafx.tk.Toolkit;
Improved registration page