accept form and validation handlers
validation handlers for login
url in logout function