Added user and password validation checking. Created login task.