Fix login module redirection, add KunenaModule base class for all modules