added login and option window