created page profile and register, edited page login and created BeanData code.