Redirect if the user doesn't have an course

Signed-off-by: Jorge Cuadrado <kuadrosxx@gmail.com>