Removing useless if
Using regex to parse the current user id :)