Some security changes in login panel