fixed redirect when join

Signed-off-by: Søren Ranneries <sranne12@student.aau.dk>
Merge branch 'master' of https://github.com/jbossen/P3-Program