fixed bug in url regex for user