Valid, except that any decent programmer would have the code point out that you need to log in first, and not just throw the link to nowhere ... not good even if under construction.