Added beans for user
Added user registration and saving in database