created main interface after login