Your Main application isn't a JPanel and doesn't offer a JPanel that can be used anywhere. Instead it is geared to create a JFrame and displays an app in the JFrame. Fortunately it can be modified to allow us to extract its JPanel. Have a look at some changes I've made:
and then in Login:
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?