implement authentication
implement logout
use jquery-validation