prepare to relase

minor change on register and login function