code regiter a user logic
add login logout register