Login and Logout

Added Login and Logout.
Added getPost and deletePost to functions.php
Removed validate.php (integrated into register.php)