implemented the destroy session action
user registration implemented