new class, this time 'V' not written in capital letters.
extracted both methods to new class
changed entries in urlmapping accordingly
moved remaining methods belonging to both functions to new class
changed all occurrences of controllername from "favorites" to
"favoritesview"
found 1 more place where controllername for publicfavorites has to be
replaced
changed all occurences of controllername for action:favorites to
favoritesview
changed all occurences of controllername "favorites" to "favoritesview"
for action publicFavorites in file FavoritesController.groovy
changed 1 occurence of controllername "favorites" to "favoritesview"
for action publicFavorites in file FavoritesService.groovy
changed all occurences of controllername "favorites" to "favoritesview"
for action publicFavorites in file publicFavorites.gsp
changed all occurences of controllername "favorites" to "favoritesview"

when in conjunction with 'action="favorites"' (projectwide)
 changed all remaining occurences of controllername "favorites" to
"favoritesview" when in conjunction with action = favorites or
publicFavorites  (projectwide)
changed controllername from user to favoritesview since there is no
method favorites in controller user
changed controllername from user to favoritesview since there is no
method favorites in controller user
deleted methods isUserLoggedIn() and getUserFromSession() from
UserController, since they are in FavoritesViewController
moved methods isUserLoggedIn() and getUserFromSession() to
UserController
added object of class UserController to FavoritesviewController, so that
methods isUserLoggedIn() and getUserFromSession() can be accessed
added object of class UserController to FavoritesController, so that

methods isUserLoggedIn() can be accessed
adapted calls of isUserLoggedIn in FavoritesController accordingly
deleted method getUserFromSession from SavedsearchesController, added
object of class UserController to it and adapted calls of
getUserFromSession accordingly