Logout message and so on

also adding back button and result page fixing