adjust login in for ios7.0 and same ui