Added loginCheck method.

Also working on persistence.