adding register, login and logout paths