added dynamical validation for registration form.Added 'course' field for db. Set locStorage to sessionStorage if browser doesn't support