Login form functionality added.