Made login database work...

... added LoginPartial.