added methods for navigation
moved methods to homecontroller and tiedto them