changes data types for DATES

-renames 'main_view' to 'login_view'