fixed signin bugs in mobile view