Fixed security issue with login check. It is not good so i need to find a better way to check logged users so i can hide login forms for active users