add mail to base model
update pom
change start page
add main to java model
basic registering