In SharePoint 2010 we had the possibility to choose to login in as different user.

The next version 2013 Microsoft thought it would be a great idea to just remove this 🙂
The workarround is the following, just browse this url:

http://<site URL>/_layouts/closeConnection.aspx?loginasanotheruser=true

There is also a way to alter the Welcome.aspx file, great  blog can be found here !!

It is possible to get through JQuery the current user in SharePoint;

 var currentuser;

function checkCurrentUser() {
var context = SP.ClientContext.get_current();
var siteColl = context.get_site();
var web = siteColl.get_rootWeb();
this._currentUser = web.get_currentUser();
context.executeQueryAsync(Function.createDelegate(this, this.CheckUserSucceeded),
Function.createDelegate(this, this.CheckUserfailed));

function CheckUserSucceeded() {
currentuser =this._currentUser.get_loginName;

 function CheckUserfailed() {
log(‘retrieving user failed’);