fixing loginbuttons