added auth module. created login and register pages. fixed mailing problen. and some interface changes