Undone mvc update because of errors under mono.
Fixed bug in check login credentials.