added log in page
add json checking for password
updated first page