Fixed the login dropdown functionality and inheri

Fixed the login drop down problem and added the inheritance view of the
main page