reconstruct

rename login/register and merge redirect servlets with other servlets
add message function