login validation added
main page modified.