added jquery functionality ro registration page
added registration model