rotation bug is fixed, sign-in function is updated, photo-take routine is changed