Added % approval and fixed login bug #5