removed instalogin button, code cleanup