fixed some formatting and some minor DOM bugs around user registration