Made a logout button and made a correct animation when keyboard opens.